# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/config_results.ui'
#
# Created: Sat Sep 18 12:06:45 2010
#      by: PyQt4 UI code generator 4.7.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui
from PyKDE4.kdeui import KColorButton

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(389, 282)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.opacityLabel = QtGui.QLabel(Form)
        self.opacityLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.opacityLabel.setObjectName(_fromUtf8("opacityLabel"))
        self.gridLayout.addWidget(self.opacityLabel, 0, 0, 1, 1)
        self.frameLabel = QtGui.QLabel(Form)
        self.frameLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.frameLabel.setObjectName(_fromUtf8("frameLabel"))
        self.gridLayout.addWidget(self.frameLabel, 0, 1, 1, 1)
        self.userLabel = QtGui.QLabel(Form)
        self.userLabel.setObjectName(_fromUtf8("userLabel"))
        self.gridLayout.addWidget(self.userLabel, 1, 0, 1, 1)
        self.userOpacityLayout = QtGui.QHBoxLayout()
        self.userOpacityLayout.setObjectName(_fromUtf8("userOpacityLayout"))
        self.userOpacitySpin = QtGui.QSpinBox(Form)
        self.userOpacitySpin.setMaximum(100)
        self.userOpacitySpin.setProperty(_fromUtf8("value"), 80)
        self.userOpacitySpin.setObjectName(_fromUtf8("userOpacitySpin"))
        self.userOpacityLayout.addWidget(self.userOpacitySpin)
        self.userOpacitySlider = QtGui.QSlider(Form)
        self.userOpacitySlider.setMaximum(100)
        self.userOpacitySlider.setProperty(_fromUtf8("value"), 80)
        self.userOpacitySlider.setOrientation(QtCore.Qt.Horizontal)
        self.userOpacitySlider.setObjectName(_fromUtf8("userOpacitySlider"))
        self.userOpacityLayout.addWidget(self.userOpacitySlider)
        self.gridLayout.addLayout(self.userOpacityLayout, 2, 0, 1, 1)
        self.userColorLayout = QtGui.QHBoxLayout()
        self.userColorLayout.setSpacing(0)
        self.userColorLayout.setObjectName(_fromUtf8("userColorLayout"))
        self.userColorCheck = QtGui.QCheckBox(Form)
        self.userColorCheck.setText(_fromUtf8(""))
        self.userColorCheck.setObjectName(_fromUtf8("userColorCheck"))
        self.userColorLayout.addWidget(self.userColorCheck)
        self.userColorButton = KColorButton(Form)
        self.userColorButton.setColor(QtGui.QColor(0, 0, 0))
        self.userColorButton.setDefaultColor(QtGui.QColor(0, 0, 0))
        self.userColorButton.setObjectName(_fromUtf8("userColorButton"))
        self.userColorLayout.addWidget(self.userColorButton)
        self.userColorLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.userColorLayout, 2, 1, 1, 1)
        self.newOpacityLayout = QtGui.QHBoxLayout()
        self.newOpacityLayout.setObjectName(_fromUtf8("newOpacityLayout"))
        self.newOpacitySpin = QtGui.QSpinBox(Form)
        self.newOpacitySpin.setMaximum(100)
        self.newOpacitySpin.setProperty(_fromUtf8("value"), 100)
        self.newOpacitySpin.setObjectName(_fromUtf8("newOpacitySpin"))
        self.newOpacityLayout.addWidget(self.newOpacitySpin)
        self.newOpacitySlider = QtGui.QSlider(Form)
        self.newOpacitySlider.setMaximum(100)
        self.newOpacitySlider.setProperty(_fromUtf8("value"), 100)
        self.newOpacitySlider.setOrientation(QtCore.Qt.Horizontal)
        self.newOpacitySlider.setObjectName(_fromUtf8("newOpacitySlider"))
        self.newOpacityLayout.addWidget(self.newOpacitySlider)
        self.gridLayout.addLayout(self.newOpacityLayout, 5, 0, 1, 1)
        self.newColorLayout = QtGui.QHBoxLayout()
        self.newColorLayout.setSpacing(0)
        self.newColorLayout.setObjectName(_fromUtf8("newColorLayout"))
        self.newColorCheck = QtGui.QCheckBox(Form)
        self.newColorCheck.setText(_fromUtf8(""))
        self.newColorCheck.setChecked(True)
        self.newColorCheck.setObjectName(_fromUtf8("newColorCheck"))
        self.newColorLayout.addWidget(self.newColorCheck)
        self.newColorButton = KColorButton(Form)
        self.newColorButton.setColor(QtGui.QColor(0, 255, 0))
        self.newColorButton.setDefaultColor(QtGui.QColor(0, 255, 0))
        self.newColorButton.setObjectName(_fromUtf8("newColorButton"))
        self.newColorLayout.addWidget(self.newColorButton)
        self.newColorLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.newColorLayout, 5, 1, 1, 1)
        self.badUrlsOpacityLayout = QtGui.QHBoxLayout()
        self.badUrlsOpacityLayout.setObjectName(_fromUtf8("badUrlsOpacityLayout"))
        self.badUrlsOpacitySpin = QtGui.QSpinBox(Form)
        self.badUrlsOpacitySpin.setMaximum(100)
        self.badUrlsOpacitySpin.setProperty(_fromUtf8("value"), 100)
        self.badUrlsOpacitySpin.setObjectName(_fromUtf8("badUrlsOpacitySpin"))
        self.badUrlsOpacityLayout.addWidget(self.badUrlsOpacitySpin)
        self.badUrlsOpacitySlider = QtGui.QSlider(Form)
        self.badUrlsOpacitySlider.setMaximum(100)
        self.badUrlsOpacitySlider.setProperty(_fromUtf8("value"), 100)
        self.badUrlsOpacitySlider.setOrientation(QtCore.Qt.Horizontal)
        self.badUrlsOpacitySlider.setObjectName(_fromUtf8("badUrlsOpacitySlider"))
        self.badUrlsOpacityLayout.addWidget(self.badUrlsOpacitySlider)
        self.gridLayout.addLayout(self.badUrlsOpacityLayout, 8, 0, 1, 1)
        self.badUrlsColorLayout = QtGui.QHBoxLayout()
        self.badUrlsColorLayout.setSpacing(0)
        self.badUrlsColorLayout.setObjectName(_fromUtf8("badUrlsColorLayout"))
        self.badUrlsColorCheck = QtGui.QCheckBox(Form)
        self.badUrlsColorCheck.setText(_fromUtf8(""))
        self.badUrlsColorCheck.setChecked(True)
        self.badUrlsColorCheck.setObjectName(_fromUtf8("badUrlsColorCheck"))
        self.badUrlsColorLayout.addWidget(self.badUrlsColorCheck)
        self.badUrlsColorButton = KColorButton(Form)
        self.badUrlsColorButton.setColor(QtGui.QColor(255, 0, 0))
        self.badUrlsColorButton.setDefaultColor(QtGui.QColor(255, 0, 0))
        self.badUrlsColorButton.setObjectName(_fromUtf8("badUrlsColorButton"))
        self.badUrlsColorLayout.addWidget(self.badUrlsColorButton)
        self.badUrlsColorLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.badUrlsColorLayout, 8, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 2)
        self.cachedLabel = QtGui.QLabel(Form)
        self.cachedLabel.setObjectName(_fromUtf8("cachedLabel"))
        self.gridLayout.addWidget(self.cachedLabel, 9, 0, 1, 2)
        self.cachedOpacityLayout = QtGui.QHBoxLayout()
        self.cachedOpacityLayout.setObjectName(_fromUtf8("cachedOpacityLayout"))
        self.cachedOpacitySpin = QtGui.QSpinBox(Form)
        self.cachedOpacitySpin.setMaximum(100)
        self.cachedOpacitySpin.setProperty(_fromUtf8("value"), 100)
        self.cachedOpacitySpin.setObjectName(_fromUtf8("cachedOpacitySpin"))
        self.cachedOpacityLayout.addWidget(self.cachedOpacitySpin)
        self.cachedOpacitySlider = QtGui.QSlider(Form)
        self.cachedOpacitySlider.setMaximum(100)
        self.cachedOpacitySlider.setProperty(_fromUtf8("value"), 100)
        self.cachedOpacitySlider.setOrientation(QtCore.Qt.Horizontal)
        self.cachedOpacitySlider.setObjectName(_fromUtf8("cachedOpacitySlider"))
        self.cachedOpacityLayout.addWidget(self.cachedOpacitySlider)
        self.gridLayout.addLayout(self.cachedOpacityLayout, 10, 0, 1, 1)
        self.cachedColorLayout = QtGui.QHBoxLayout()
        self.cachedColorLayout.setSpacing(0)
        self.cachedColorLayout.setObjectName(_fromUtf8("cachedColorLayout"))
        self.cachedColorCheck = QtGui.QCheckBox(Form)
        self.cachedColorCheck.setText(_fromUtf8(""))
        self.cachedColorCheck.setChecked(True)
        self.cachedColorCheck.setObjectName(_fromUtf8("cachedColorCheck"))
        self.cachedColorLayout.addWidget(self.cachedColorCheck)
        self.cachedColorButton = KColorButton(Form)
        self.cachedColorButton.setColor(QtGui.QColor(255, 255, 0))
        self.cachedColorButton.setDefaultColor(QtGui.QColor(255, 255, 0))
        self.cachedColorButton.setObjectName(_fromUtf8("cachedColorButton"))
        self.cachedColorLayout.addWidget(self.cachedColorButton)
        self.cachedColorLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.cachedColorLayout, 10, 1, 1, 1)
        self.newLabel = QtGui.QLabel(Form)
        self.newLabel.setObjectName(_fromUtf8("newLabel"))
        self.gridLayout.addWidget(self.newLabel, 3, 0, 1, 1)
        self.badUrlsLabel = QtGui.QLabel(Form)
        self.badUrlsLabel.setObjectName(_fromUtf8("badUrlsLabel"))
        self.gridLayout.addWidget(self.badUrlsLabel, 6, 0, 1, 2)
        self.gridLayout.setColumnStretch(0, 1)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.userOpacitySlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.userOpacitySpin.setValue)
        QtCore.QObject.connect(self.userOpacitySpin, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.userOpacitySlider.setValue)
        QtCore.QObject.connect(self.badUrlsOpacitySlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.badUrlsOpacitySpin.setValue)
        QtCore.QObject.connect(self.badUrlsOpacitySpin, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.badUrlsOpacitySlider.setValue)
        QtCore.QObject.connect(self.newOpacitySlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.newOpacitySpin.setValue)
        QtCore.QObject.connect(self.newOpacitySpin, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.newOpacitySlider.setValue)
        QtCore.QObject.connect(self.cachedOpacitySlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.cachedOpacitySpin.setValue)
        QtCore.QObject.connect(self.cachedOpacitySpin, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.cachedOpacitySlider.setValue)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.opacityLabel.setText(QtGui.QApplication.translate("Form", "Opacity", None, QtGui.QApplication.UnicodeUTF8))
        self.frameLabel.setText(QtGui.QApplication.translate("Form", "Frame color", None, QtGui.QApplication.UnicodeUTF8))
        self.userLabel.setText(QtGui.QApplication.translate("Form", "My wallpapers", None, QtGui.QApplication.UnicodeUTF8))
        self.cachedLabel.setText(QtGui.QApplication.translate("Form", "Cached wallpapers without urls", None, QtGui.QApplication.UnicodeUTF8))
        self.newLabel.setText(QtGui.QApplication.translate("Form", "New wallpapers", None, QtGui.QApplication.UnicodeUTF8))
        self.badUrlsLabel.setText(QtGui.QApplication.translate("Form", "Wallpapers without urls", None, QtGui.QApplication.UnicodeUTF8))
